package com.leqicheng.tenon;

import java.util.HashMap;
import java.util.Map;

import android.content.Context;

import com.leqicheng.tenon.util.HttpRequest;
import com.leqicheng.tenon.util.RequestTypeEnum;


class ListPageHttpRequest extends HttpRequest {

    private final Context mContext;



    public ListPageHttpRequest(Context context, TenonGameListView tenonGameListView) {
        super(context, tenonGameListView);
        this.mContext = context;
    }

    public String postRequest(String channelKey) {
        Map<String, String> Data = new HashMap<String, String>();
        RequestTypeEnum requestType = RequestTypeEnum.GET_GAME_WALL_URL;
        Data.put("channel_key", channelKey);
        String requestUriType = "get-game-wall-url";
        this.AsyncHttpClientPostOnBack(requestType, Data, requestUriType);
        return requestUriType;
    }
}
